<html>
<head>
<script>
if (window.testRunner) {
    testRunner.dumpAsText();
    testRunner.dumpChildFrames();
    testRunner.overridePreference("WebKitJavaScriptEnabled", false);
}

function shouldNotBeExecuted()
{
    var divElement = document.createElement("div");
    divElement.innerHTML = "This text should not present";
    document.body.appendChild(divElement);
}

</script>
</head>

<body onLoad="shouldNotBeExecuted();">
    <iframe src="resources/xslt-transform-with-javascript-disabled.xml"/>
</body>
</html>
